package org.justframework.demo;

import org.justframework.api.connector.ClientConnector;
import org.justframework.api.connector.Request;
import org.justframework.api.connector.Response;
import org.justframework.api.exception.ConnectFailureException;

public class DemoIceClient implements ClientConnector {

	public Response rpc(Request request) {
		if("i0".equals(request.getUri().getHost())){
			throw new ConnectFailureException("i0");
		}
		return null;
	}

}
